package com.zhxy.business.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhxy.business.ApiUsedRecordManager;
import com.zhxy.dao.ApiUsedRecordMapper;
import com.zhxy.domain.ApiUsedRecord;
import com.zhxy.domain.ApiUsedRecordExample;

@Service
public class ApiUsedRecordManagerImpl implements ApiUsedRecordManager {

    @Autowired
    private ApiUsedRecordMapper apiUsedRecordMapper;

    @Override
    public long countByExample(ApiUsedRecordExample e) {
        return apiUsedRecordMapper.countByExample(e);
    }

    @Override
    public int deleteByExample(ApiUsedRecordExample e) {
        return apiUsedRecordMapper.deleteByExample(e);
    }

    @Override
    public int deleteByPrimaryKey(Integer k) {
        return apiUsedRecordMapper.deleteByPrimaryKey(k);
    }

    @Override
    public int insert(ApiUsedRecord t) {
        return apiUsedRecordMapper.insert(t);
    }

    @Override
    public int insertSelective(ApiUsedRecord t) {
        return apiUsedRecordMapper.insertSelective(t);
    }

    @Override
    public List<ApiUsedRecord> selectByExample(ApiUsedRecordExample e) {
        return apiUsedRecordMapper.selectByExample(e);
    }

    @Override
    public ApiUsedRecord selectByPrimaryKey(Integer k) {
        return apiUsedRecordMapper.selectByPrimaryKey(k);
    }

    @Override
    public int updateByExampleSelective(ApiUsedRecord t, ApiUsedRecordExample e) {
        return apiUsedRecordMapper.updateByExampleSelective(t, e);
    }

    @Override
    public int updateByExample(ApiUsedRecord t, ApiUsedRecordExample e) {
        return apiUsedRecordMapper.updateByExample(t, e);
    }

    @Override
    public int updateByPrimaryKeySelective(ApiUsedRecord t) {
        return apiUsedRecordMapper.updateByPrimaryKeySelective(t);
    }

    @Override
    public int updateByPrimaryKey(ApiUsedRecord t) {
        return apiUsedRecordMapper.updateByPrimaryKey(t);
    }

}
